package com.jjb.www.http.api;

import com.hjq.http.config.IRequestApi;

/**
 * @author CRG
 * @date :2023/12/13 16:40
 * @description:
 */
public class HomeMessageListApi implements IRequestApi {
    private Integer page;
    private Integer pageSize;

    public HomeMessageListApi setPage(Integer page) {
        this.page = page;
        return this;
    }

    public HomeMessageListApi setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/user/v3/news/policyNewsList";
    }
    public static class Bean{

        private Integer id;
        private String source;
        private String title;
        private Integer type;
        private String create_time;
        private String path;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }
    }
}
